package com.chuanyekeji.aokai.Mapper;

import com.chuanyekeji.aokai.Entity.Product;
import com.chuanyekeji.aokai.Entity.ProductImage;

import java.util.List;

public interface ProductImageMapper {
    int deleteByPrimaryKey(Integer id);

    List<ProductImage> getProductImageByProduct(Product product);

    int delete(Product product);

    int insert(ProductImage record);

    int insertSelective(ProductImage record);

    ProductImage selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ProductImage record);

    int updateByPrimaryKey(ProductImage record);
}